package com.joysuch.wwyt.patrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author heqifeng
 * @since 2022-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_patrol_record_item")
@ApiModel(value="PatrolRecordItem对象", description="")
public class PatrolRecordItem extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联检查记录id")
    private Long recordId;

    @ApiModelProperty(value = "设备id")
    private Long checkDeviceId;

    @ApiModelProperty(value = "设备名称")
    private String checkDeviceName;

    @ApiModelProperty(value = "设备编号")
    private String checkDeviceCode;

    @ApiModelProperty(value = "关联检查项目id")
    private Long checkProjectId;

    @ApiModelProperty(value = "关联检查项目名称")
    private String checkProjectName;

    @ApiModelProperty(value = "检查标准")
    private String checkStandard;

    @ApiModelProperty(value = "检查结果类型（数值、枚举(状态)、文本）")
    private String resultType;

    @ApiModelProperty(value = "检查结果类型（数值、枚举(状态)、文本）")
    private String subResultType;

    @ApiModelProperty(value = "检查结果")
    private String checkResult;

    @ApiModelProperty(value = "检查结果单位")
    private String checkResultUnit;

    @ApiModelProperty(value = "检查结果1(温振仪使用)")
    private String checkResult1;

    @ApiModelProperty(value = "检查结果单位1(温振仪使用)")
    private String checkResultUnit1;

    @ApiModelProperty(value = "检查结果2(温振仪使用)")
    private String checkResult2;

    @ApiModelProperty(value = "检查结果单位2(温振仪使用)")
    private String checkResultUnit2;

    @ApiModelProperty(value = "符号")
    private String symbol;

    @ApiModelProperty(value = "正常值或者正常值左区间（状态和数值时有效）")
    private String normalLeft;

    @ApiModelProperty(value = "正常值右区间（状态时有效）")
    private String normalRight;

    @ApiModelProperty(value = "检查结果状态（正常、异常）")
    private String checkResultState;

    @ApiModelProperty(value = "异常处理状态")
    private String exceptHandel;

    @ApiModelProperty(value = "1:漏检2:发现异常3:补检4:签到异常。存在多个用','分隔")
    private String excepInfo;

    @ApiModelProperty(value = "照片,文件，保存文件id数组，格式化为json")
    private String picJson;

    @ApiModelProperty(value = "视频,文件，保存文件id数组，格式化为json")
    private String videoJson;

    @ApiModelProperty(value = "录音,文件，保存文件id数组，格式化为json")
    private String voiceJson;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("关联流程任务数据id")
    private Long workflowTaskId;

    @ApiModelProperty("新版-关联流程id")
    private String wfProcessInsId;

    @ApiModelProperty("新版-关联流程状态")
    private String wfProcessStatus;
}
